package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.PowerBean;
import com.project.bean.UserBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface PowerDao extends BaseMapper<PowerBean> {
    List<PowerBean> findAllPowerByUserName(@Param("userName") String userName);
}
